* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: #333;
}
.car {
    margin: 100px 100px;
}
/* 设置顶部的样式 */
h3 {
    width: 80px;
    height: 30px;
    border-bottom: 1px solid #f85735;
    margin-bottom: 10px;
    line-height: 30px;
    text-align: center;
    color: #f85735;
}
/* 设置表格样式 */
table {
    border-collapse: collapse;
    /* border: 1px solid #333; */
    /* border-top: 0; */
    /* border-bottom: 0; */
    text-align: left;
}
table th,
table td {
    border-bottom: 1px solid #333;
}
/* 设置全选按钮的颜色 */
.all {
    margin-right: 5px;
}
/* 设置第一行 */
table thead {
    height: 50px;
    line-height: 50px;
    background-color: #c1c1c1;
    /* margin-bottom: 20px; */
}
/* 设置第二行及之后 */
table tbody td {
    /* display: inline-block; */
    height: 150px;
    padding-top: 20px;
    /* line-height: 60px; */
    vertical-align: top; 
}
/* table tr:nth-child(n+2) td:nth-child(1) {
    height: 150px;
} */
/* 设置每一列th和td的宽度 */
table tr th:nth-child(1),
table tr td:nth-child(1) {
    /* display: inline-block; */
    width: 80px;
    padding-left: 5px;
}
table tr th:nth-child(2),
table tr td:nth-child(2) {
    width: 250px;
}
table tr th:nth-child(n+3),
table tr td:nth-child(n+3) {
    width: 100px;
}
/* 设置表格中的图片 */
table img {
    float: left;
    /* padding-top: 20px; */
    width: 69px;
    vertical-align: bottom;
    margin-right: 10px;
}
table td span {
    display: inline-block;
    width: 120px;
}
.input input {
    width: 40px;
    outline: none;
}
/* 设置操作中的超链接样式 */
table a {
    text-decoration: none;
    color: #000;
}
/* 修改check的颜色 */
/* input[type=checkbox]::after{
    position: absolute;
    top: 0;
    //修改默认背景色
    background-color: #fff;
    border:1px solid #000; 
    //修改默认对勾颜色
    color: #333;
    width: 16px;
    height: 16px;
    display: inline-block;
    visibility: visible;
    text-align: center;
    content: ' ';
}
    
input[type=checkbox]:checked::after{
    content: "√";
    font-size: 12px;
    font-weight: bold;
} */
/* 设置购物车数量加减 */
table ul {
    list-style: none;
    display: flex;
    height: 20px;
    color: #999;
}
table ul li {
    width: 20px;
    height: 20px;
    line-height: 18px;
    border: 1px solid #999;
    text-align: center;
}
table ul li:nth-child(2) {
    width: 40px;
    height: 20px;
    border: 0;
}
table ul li input {
    width: 40px;
    height: 20px;
    vertical-align: top;
    line-height: 20px;
    border: 0;
    border-bottom: 1px solid #999;
    border-top: 1px solid #999;
    text-align: center;
    color: #999;
    outline: none;
}
table ul li i {
    font-style: normal;
    cursor: pointer;
}
/* 设置最后一行的样式 */
.last {
    position: fixed;
    bottom: 10px;
    left: 100px;
    width: 730px;
    height: 62px;
    line-height: 50px;
    background-color: #fff;
    /* margin-top: 60px; */
    padding: 5px;
    border: 1px solid #ccc;
}
.last ul{
    list-style: none;
    /* display: flex; */
    text-align: center;
    font-size: 14px;
}
/* 设置每一列的样式 */
/* 前三个li的样式 */
.last ul li:nth-child(-n+3) {
    float: left;
}
.last ul li:nth-child(1) {
    width: 70px;
    text-align: left;
}
.last ul li:nth-child(1) input {
    margin-left: 10px;
}
.last ul li:nth-child(2) {
    width: 140px;
    text-align: center;
}
.last ul li:nth-child(3) {
    width: 120px;
}
/* 后三个li的样式 */
.last ul li:nth-child(n+4) {
    float: right;
}
.last ul li:nth-child(4) button {
    width: 60px;
    height: 40px;
    margin-top: 5px;
    background-color: #dc4e41;
    border: 0;
    font-size: 16px;
    color: #fff;
    outline:none;
}
.last ul li:nth-child(5) {
    width: 120px;
}
.last ul li:nth-child(6) {
    width: 120px;
}
.last b,
.last .mon {
    color: #ff5500;
}
/* 添加移除背景 */
.bg {
    background-color: #c9c2ab;
}